package day04.work02;

public class Bird extends Animal {

    private double wingSpan;

    public Bird(){}
    public Bird(String name,double wingSpan){
        super(name);
        this.wingSpan=wingSpan;
    }

    public void move(){
        System.out.println("小鸟喜欢飞");
    }

    @Override
    public void makeSound() {
        System.out.println("小鸟叽叽叫");
    }
    
}
